package com.zt.model.mapper;

import com.zt.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    int insert(@Param("pojo") User pojo);

    int insertList(@Param("pojos") List< User> pojo);

    List<User> select(@Param("pojo") User pojo);

    int update(@Param("pojo") User pojo);

    int delete(int id);
    User login(@Param("logName") String logName, @Param("logPwd") String logPwd);

}
